package com.yllt4cloud.ddauth.mapper;


import com.yllt4cloud.common.ddbase.domain.Clerk;
import com.yllt4cloud.common.ddbase.param.shangmi.YiKaTongJiaQianParam;
import com.yllt4cloud.common.ddbase.result.ClerkQueryResult;
import com.yllt4cloud.common.ddbase.result.ClerkResult;
import com.yllt4cloud.common.ddbase.result.ClerkZhiWen;
import com.yllt4cloud.ddauth.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * <br>
 * <b>功能：</b>ClerkMapper<br>
 * <b>作者：</b>Administrator<br>
 * <b>日期：</b> Tue Feb 12 10:53:44 CST 2019 <br>
 * <b>版权所有： 2016,yllt.com<br>
 */ 



@Mapper
public interface ClerkMapper extends BaseMapper<Clerk> {
    public List<Clerk> cardGetClerk(String clerkCardNum);

    public List<Clerk> queryByIds(Map<String, Object> paramMap);
    public List<Integer> idQueryByIds(Map<String, Object> paramMap);
    public  List<ClerkZhiWen> listZhiWen();

    public List<ClerkResult> queryHuaMingCeList(Map<String, Object> paramMap);
    public List<ClerkResult> findRecords(Map<String, Object> paramMap);

    public List<ClerkResult> queryNew(Map<String, Object> paramMap);

    public int yiKaTongJiaQian(YiKaTongJiaQianParam param);

    /**
     * 新版的查询优化
     * @param paramMap
     * @return
     */
    public List<ClerkQueryResult> queryClerkNew(Map<String, Object> paramMap);


    /**
     * 查询员工信息表列表 ，提供给部门的，主要用于表示该部门下有员工信息
     * @param paramMap
     * @return
     */
    public List<Clerk>  queryOnlyOneClerk(Map<String, Object> paramMap);

}
